package com.zmn.plat.model.entity.category;

import com.zmn.common.utils.pager.Pages;

import java.util.List;

/**
 * base_category
 * @author tanghongjun
 * @modifier linfeng 新增前后台类型字段 20190920
 */
public class BaseCategoryQuery extends Pages {
    public Byte LEVEL_1 = 1;
    public Byte LEVEL_2 = 2;

    public Integer BACK_CATEGORY = 1;
    public Integer FRONT_CATEGORY = 2;

    private Integer categId;

    /**
     * 分类ID集合
     */
    private List<Integer> categIds;

    /**
     * 产品分类 1 后端产品 2前端产品
     */
    private Integer showType;

    /**
     * 名称，比如：电视、空调、冰箱、清洗
     */
    private String name;

    /**
     * 父分类ID，1级分类的父ID统一为1
     */
    private Integer parentId;

    /**
     * 父类ID集合
     */
    private List<Integer> parentIds;

    /**
     * 级别，目前只有2个级别：1一级；2二级
     */
    private Byte level;

    /**
     * 状态：1停用，2启用
     */
    private Integer status;

    /**
    * 功能描述:计价器名称
    * @author tanbiao
    * @since 2019/11/28
    */
    private String tariffName;

    /**
     * 计价器状态：1停用 2启用
     */
    private Integer tariffStatus;

    /**
     * 服务时长：分钟
     */
    private Integer serviceMinutes;

    /**
     * 每页显示条数，默认100
     */
    private Integer pageSize = 100;

    private static final long serialVersionUID = 1L;

    public Integer getCategId() {
        return categId;
    }

    public void setCategId(Integer categId) {
        this.categId = categId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getShowType() {
        return showType;
    }

    public void setShowType(Integer showType) {
        this.showType = showType;
    }

    public String getTariffName() {
        return tariffName;
    }

    public void setTariffName(String tariffName) {
        this.tariffName = tariffName;
    }

    public List<Integer> getCategIds() {
        return categIds;
    }

    public void setCategIds(List<Integer> categIds) {
        this.categIds = categIds;
    }

    public Integer getTariffStatus() {
        return tariffStatus;
    }

    public void setTariffStatus(Integer tariffStatus) {
        this.tariffStatus = tariffStatus;
    }

    public List<Integer> getParentIds() {
        return parentIds;
    }

    public void setParentIds(List<Integer> parentIds) {
        this.parentIds = parentIds;
    }

    @Override
    public Integer getPageSize() {
        return pageSize;
    }

    @Override
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getServiceMinutes() {
        return serviceMinutes;
    }

    public void setServiceMinutes(Integer serviceMinutes) {
        this.serviceMinutes = serviceMinutes;
    }
}